MODULE	'devices/timer'

CONST	FILENAME_SIZE=30,
		DEVNAME_SIZE=16,
		POINTERSIZE=$24,
		TOPAZ_EIGHTY=8,
		TOPAZ_SIXTY=9

OBJECT Preferences
	FontHeight:BYTE,
	PrinterPort:CHAR,
	Baudrate:UWORD,
	KeyRptSpeed:TimeVal,
	KeyRptDelay:TimeVal,
	DoubleClick:TimeVal,
	Pointermatrix[$24]:UWORD,
	XOffset:BYTE,
	YOffset:BYTE,
	Color17:UWORD,
	Color18:UWORD,
	Color19:UWORD,
	PointerTicks:UWORD,
	Color0:UWORD,
	Color1:UWORD,
	Color2:UWORD,
	Color3:UWORD,
	ViewXOffset:BYTE,
	ViewYOffset:BYTE,
	ViewInitX:INT,
	ViewInitY:INT,
	EnableCli:INT,
	PrinterType:UWORD,
	PrinterFileName[30]:CHAR,
	PrintPitch:UWORD,
	PrintQuality:UWORD,
	PrintSpacing:UWORD,
	PrintLeftMargin:UWORD,
	PrintRightMargin:UWORD,
	PrintImage:UWORD,
	PrintAspect:UWORD,
	PrintShade:UWORD,
	PrintThresHold:INT,
	PaperSize:UWORD,
	PaperLength:UWORD,
	PaperType:UWORD,
	SerRWBits:CHAR,
	SerStopBuf:CHAR,
	SerParShk:CHAR,
	LaceWB:CHAR,
	Pad[12]:CHAR,
	PrtDevName[16]:CHAR,
	DefaultPrtUnit:CHAR,
	DefaultSerUnit:CHAR,
	RowSizeChange:BYTE,
	ColumnSizeChange:BYTE,
	PrintFlags:UWORD,
	PrintMaxWidth:UWORD,
	PrintMaxHeight:UWORD,
	PrintDensity:CHAR,
	PrintXOffset:CHAR,
	WB_Width:UWORD,
	WB_Height:UWORD,
	WB_Depth:CHAR,
	Ext_Size:CHAR

CONST	LACEWB=1,
		LW_RESERVED=1,
		SCREEN_DRAG=$4000,
		MOUSE_ACCEL=$8000,
		PARALLEL_PRINTER=0,
		SERIAL_PRINTER=1,
		BAUD_110=0,
		BAUD_300=1,
		BAUD_1200=2,
		BAUD_2400=3,
		BAUD_4800=4,
		BAUD_9600=5,
		BAUD_19200=6,
		BAUD_MIDI=7,
		FANFOLD=0,
		SINGLE=$80,
		PICA=0,
		ELITE=$400,
		FINE=$800,
		DRAFT=0,
		LETTER=$100,
		SIX_LPI=0,
		EIGHT_LPI=$200,
		IMAGE_POSITIVE=0,
		IMAGE_NEGATIVE=1,
		ASPECT_HORIZ=0,
		ASPECT_VERT=1,
		SHADE_BW=0,
		SHADE_GREYSCALE=1,
		SHADE_COLOR=2,
		US_LETTER=0,
		US_LEGAL=16,
		N_TRACTOR=$20,
		W_TRACTOR=$30,
		CUSTOM=$40,
		EURO_A0=$50,
		EURO_A1=$60,
		EURO_A2=$70,
		EURO_A3=$80,
		EURO_A4=$90,
		EURO_A5=$A0,
		EURO_A6=$B0,
		EURO_A7=$C0,
		EURO_A8=$D0,
		CUSTOM_NAME=0,
		ALPHA_P_101=1,
		BROTHER_15XL=2,
		CBM_MPS1000=3,
		DIAB_630=4,
		DIAB_ADV_D25=5,
		DIAB_C_150=6,
		EPSON=7,
		EPSON_JX_80=8,
		OKIMATE_20=9,
		QUME_LP_20=10,
		HP_LASERJET=11,
		HP_LASERJET_PLUS=12,
		SBUF_512=0,
		SBUF_1024=1,
		SBUF_2048=2,
		SBUF_4096=3,
		SBUF_8000=4,
		SBUF_16000=5,
		SREAD_BITS=$F0,
		SWRITE_BITS=15,
		SSTOP_BITS=$F0,
		SBUFSIZE_BITS=15,
		SPARITY_BITS=$F0,
		SHSHAKE_BITS=15,
		SPARITY_NONE=0,
		SPARITY_EVEN=1,
		SPARITY_ODD=2,
		SPARITY_MARK=3,
		SPARITY_SPACE=4,
		SHSHAKE_XON=0,
		SHSHAKE_RTS=1,
		SHSHAKE_NONE=2,
		CORRECT_RED=1,
		CORRECT_GREEN=2,
		CORRECT_BLUE=4,
		CENTER_IMAGE=8,
		IGNORE_DIMENSIONS=0,
		BOUNDED_DIMENSIONS=16,
		ABSOLUTE_DIMENSIONS=$20,
		PIXEL_DIMENSIONS=$40,
		MULTIPLY_DIMENSIONS=$80,
		INTEGER_SCALING=$100,
		ORDERED_DITHERING=0,
		HALFTONE_DITHERING=$200,
		FLOYD_DITHERING=$400,
		ANTI_ALIAS=$800,
		GREY_SCALE2=$1000,
		CORRECT_RGB_MASK=7,
		DIMENSIONS_MASK=$F0,
		DITHERING_MASK=$600
